package cate.common.table.activity.talentcustommade;

import cate.common.table.ESheet;

import java.util.List;
import java.util.stream.Collectors;

public class TalentCustomMadePoolSheet extends ESheet<TalentCustomMadePoolRow> {
    @Override
    public String getSheetName() {
        return "自选池";
    }

    public List<Integer> getPoolRows(int poolId) {
        return getList().stream().filter(e -> e.group == poolId).map(e -> e.id).collect(Collectors.toList());
    }
}
